<?php
require_once(dirname(__FILE__)  . '\Doctrine.php');   
spl_autoload_register(array('Doctrine',  'autoload'));   
$conn =  Doctrine_Manager::connection('mysql://root:root@localhost/qalay',  'doctrine');   
$conn->setCharset('utf8');   
Doctrine_Core::loadModels('models');   